﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="door_templates_edit.aspx.cs" Inherits="SF.Ucenter.admin.door.door_templates_edit" %>
<%@ Import namespace="SF.Common" %>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>编辑颜色</title>
    <link href="../../scripts/artdialog/ui-dialog.css" rel="stylesheet" type="text/css" />
    <link href="../skin/default/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/datepicker/WdatePicker.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/artdialog/dialog-plus-min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../../scripts/webuploader/webuploader.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/uploader.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/laymain.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
<script type="text/javascript">
    $(function () {
        //初始化表单验证
        $("#form1").initValidform();
    });

    //初始化上传控件
    $(".upload-album").each(function () {
        $(this).InitUploader({ btntext: "批量上传", btnwidth: 66, single: false, water: true, thumbnail: true, filesize: "2048", sendurl: "../../tools/upload_ajax.ashx", swf: "../../scripts/webuploader/uploader.swf", filetypes: "gif,jpg,png,bmp" });
    });
</script>
</head>

<body class="mainbody">
<form id="form1" runat="server">
<!--导航栏-->
<div class="location">
  <a href="group_list.aspx" class="back"><i></i><span>返回列表页</span></a>
  <a href="../center.aspx" class="home"><i></i><span>首页</span></a>
  <i class="arrow"></i>
  <a href="color_list.aspx"><span>门户模版</span></a>
  <i class="arrow"></i>
  <span>编辑门户</span>
</div>
<div class="line10"></div>
<!--/导航栏-->

<!--内容-->
<div id="floatHead" class="content-tab-wrap">
  <div class="content-tab">
    <div class="content-tab-ul-wrap">
      <ul>
        <li><a class="selected" href="javascript:;">基本信息</a></li>
      </ul>
    </div>
  </div>
</div>

<div class="tab-content">
    <dl>
        <dt>商品类别</dt>
        <dd>
            <div class="rule-single-select">
            <asp:DropDownList id="ddlTypeId" runat="server" datatype="*" errormsg="请选择商品类别" sucmsg=" "></asp:DropDownList>
            </div>
        </dd>
    </dl>
    <dl id="div_albums_container" runat="server">
        <dt>图片相册</dt>
        <dd>
            <div class="upload-box upload-album"></div>
            <input type="hidden" name="hidFocusPhoto" id="hidFocusPhoto" runat="server" class="focus-photo" />
            <div class="photo-list">
                <ul>
                    <asp:Repeater ID="rptAlbumList" runat="server">
                        <ItemTemplate>
                            <li>
                                <input type="hidden" name="hid_photo_name" value="<%#Eval("id")%>|<%#Eval("imgName")%>" />
                                <div class="img-box" onclick="setFocusImg(this);">
                                <img alt="" src="<%#Eval("imgName")%>"  />
                                </div>
                                <a href="javascript:;" onclick="delImg(this);">删除</a>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
        </dd>
    </dl>
  <dl style="margin-top:28%;">
  </dl>
</div>
<!--/内容-->

<!--工具栏-->
<div class="page-footer">
  <div class="btn-wrap">
    <asp:Button ID="btnSubmit" runat="server" Text="提交保存" CssClass="btn" onclick="btnSubmit_Click" />
    <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick="javascript: history.back(-1);" />
  </div>
</div>
<!--/工具栏-->

</form>
</body>
</html>